package com.chat.excpetion;

import com.chat.util.ResultCodeEnum;

/**
 * 客户端自定义异常
 *
 * @author wb
 * @since 2024-08-21
 */
public class CustomException extends RuntimeException {
    public CustomException(String message) {
        super(message);
    }

    public CustomException(ResultCodeEnum resultCodeEnum) {
        super(resultCodeEnum.getMessage());
    }
}
